package test30;

import java.util.Scanner;

public class Task1 {

	static void strcat() {
		Scanner sc = new Scanner(System.in);
		String[] a = new String[100];
		String[] b = new String[100];
		String[] c = new String[100];
		int n;
		n = sc.nextInt();
		for(int i = 0;i<n;i++) {	
			a[i] = sc.next();
		}
		for(int i = 0;i<n;i++) {
			b[i] = sc.next();
			c[i] = a[i]+b[i];
		}
		for(int i = 0;i<n;i++) {
			System.out.println(c[i]);
		}
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		strcat();
	}

}
